<template>
    <div ref="container" style="width:100%;height: 100%;overflow: hidden">
        <component :is="layout"></component>
    </div>
</template>

<script>
import ExportLayout from "./layout/ExportLayout";
import useSystemConfig from "@/stores/useSystemConfig.js";
import { mapState } from 'pinia';
import initWaterMark     from "@/assets/js/initWaterMark";
import {ParamsEncrypt} from "@lowcode/jpaas-share-component";
export default {
    name: "MainLayout",
    mixins:[ExportLayout,initWaterMark,ParamsEncrypt],
    data(){
        return {

        }
    },
    computed:{
        ...mapState(useSystemConfig,['layout'])
    },
    created(){

    },
    methods: {

    }
}
</script>

<style scoped>
.changeLayout{
    position: fixed;
    top: 0;
    right: 0;
}

</style>
